import axios from "axios";
import { ElMessage } from "element-plus";

import router from "../router/index"
import Cookies from "js-cookie";
// 基准地址

const service = axios.create({
  baseURL: 'http://47.104.167.34:8100',
  timeout: 10000,
  headers: {
    "Content-Type": "application/json",
    "Authorization": Cookies.get("Admin-Token")
  },
});


export default service;
